<!DOCTYPE html>
<html lang="en">
 <head>
  <meta charset="UTF-8" />
  <style type="text/css">
   .wrapper {position: relative;}
   #input_refund {position: absolute;top: 0;left: 0;opacity: 0;z-index: -10;}
  </style>
 </head>
 <body>
  <div id="text_refund" class="wrapper">
            {{describe_info}} {% if describe_info %} <br/><br/> {% endif %}
            {{id_info}} {% if id_info %} <br/><br/>  {% endif %}
            {% if seller_sku %}seller_sku: {{seller_sku}}<br/><br/> {% endif %}
            {{refund_detail|safe}} {% if refund_detail %} <br/><br/> {% endif %}
            Could you please look into what happened and reimburse us?

    </div>
   <textarea id="input_refund"> </textarea>
    <div style="text-align:center">
        <br>
        <button onclick="copyText()">复制内容</button>
    </div>


  <script type="text/javascript">
    function copyText() {
      var text = document.getElementById("text_refund").innerText;
      var input = document.getElementById("input_refund");
      input.value = text; // 修改文本框的内容
      input.select(); // 选中文本
      document.execCommand("copy"); // 执行浏览器复制命令
      parent.layer.msg('复制成功！', {time:1000});
    }
  </script>
 </body>
</html>